FROM registry.cn-qingdao.aliyuncs.com/lhbtata/tomcat:8.5.57
MAINTAINER "Liu HB <lhbtata@163.com>"
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
ADD goview_v2-0.0.1-SNAPSHOT.war /usr/local/tomcat/webapps/Root.war
ADD catalina.sh /usr/local/tomcat/catalina.sh
RUN /bin/mkdir -p /usr/share/fonts/Arial/windows
ADD simsun.ttc /usr/share/fonts/Arial/windows/simsun.ttc
ADD msyh.ttc /usr/share/fonts/Arial/windows/msyh.ttc
ADD msyhbd.ttc /usr/share/fonts/Arial/windows/msyhbd.ttc
ADD msyhl.ttc /usr/share/fonts/Arial/windows/msyhl.ttc
RUN /bin/cp -rf /usr/local/tomcat/catalina.sh /usr/local/tomcat/bin/

